<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<meta name="theme-color" content="#222">
<meta name="generator" content="Hexo 5.3.0">
  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png">
  <link rel="mask-icon" href="/images/logo.svg" color="#222">

<link rel="stylesheet" href="/css/main.css">


<link rel="stylesheet" href="/lib/font-awesome/css/font-awesome.min.css">

<script id="hexo-configurations">
    var NexT = window.NexT || {};
    var CONFIG = {"hostname":"example.com","root":"/","scheme":"Muse","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":false,"show_result":false,"style":null},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.json"};
  </script>

  <meta name="description" content="​    这里我们演示这么一个简单的程序：程序主界面上有一个按钮和一个编缉框，点击按钮就在编缉框中显示“你点击了按钮”。 一、使用QT Desinger设计程序主界面1.1 设计界面​    在PyCharm中创建一个项目，然后点击“Tools”–“External Tools”–“QTDesinger”打开QT Desinger     ​    然后向Form中拖入一个“Push Button">
<meta property="og:type" content="article">
<meta property="og:title" content="PyCharm+Qt Designer+PyUIC使用教程">
<meta property="og:url" content="http://example.com/2021/02/08/PyCharm+QTDesigner+PyUIC%E4%BD%BF%E7%94%A8%E6%95%99%E7%A8%8B/index.html">
<meta property="og:site_name" content="学无止境">
<meta property="og:description" content="​    这里我们演示这么一个简单的程序：程序主界面上有一个按钮和一个编缉框，点击按钮就在编缉框中显示“你点击了按钮”。 一、使用QT Desinger设计程序主界面1.1 设计界面​    在PyCharm中创建一个项目，然后点击“Tools”–“External Tools”–“QTDesinger”打开QT Desinger     ​    然后向Form中拖入一个“Push Button">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://xdl-blog-picture.oss-cn-shanghai.aliyuncs.com/img/Image4.png">
<meta property="og:image" content="https://xdl-blog-picture.oss-cn-shanghai.aliyuncs.com/img/Image5.png">
<meta property="og:image" content="https://xdl-blog-picture.oss-cn-shanghai.aliyuncs.com/img/Image5.png">
<meta property="og:image" content="https://xdl-blog-picture.oss-cn-shanghai.aliyuncs.com/img/Image6.png">
<meta property="og:image" content="https://xdl-blog-picture.oss-cn-shanghai.aliyuncs.com/img/Image7.png">
<meta property="og:image" content="https://xdl-blog-picture.oss-cn-shanghai.aliyuncs.com/img/Image8.png">
<meta property="og:image" content="https://xdl-blog-picture.oss-cn-shanghai.aliyuncs.com/img/Image9.png">
<meta property="og:image" content="https://xdl-blog-picture.oss-cn-shanghai.aliyuncs.com/img/Image10.png">
<meta property="og:image" content="https://xdl-blog-picture.oss-cn-shanghai.aliyuncs.com/img/Image12.png">
<meta property="article:published_time" content="2021-02-08T06:53:43.000Z">
<meta property="article:modified_time" content="2021-02-08T06:53:43.000Z">
<meta property="article:author" content="xudonglei">
<meta property="article:tag" content="PyQt5">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://xdl-blog-picture.oss-cn-shanghai.aliyuncs.com/img/Image4.png">

<link rel="canonical" href="http://example.com/2021/02/08/PyCharm+QTDesigner+PyUIC%E4%BD%BF%E7%94%A8%E6%95%99%E7%A8%8B/">


<script id="page-configurations">
  // https://hexo.io/docs/variables.html
  CONFIG.page = {
    sidebar: "",
    isHome : false,
    isPost : true,
    lang   : 'zh-CN'
  };
</script>

  <title>PyCharm+Qt Designer+PyUIC使用教程 | 学无止境</title>
  






  <noscript>
  <style>
  .use-motion .brand,
  .use-motion .menu-item,
  .sidebar-inner,
  .use-motion .post-block,
  .use-motion .pagination,
  .use-motion .comments,
  .use-motion .post-header,
  .use-motion .post-body,
  .use-motion .collection-header { opacity: initial; }

  .use-motion .site-title,
  .use-motion .site-subtitle {
    opacity: initial;
    top: initial;
  }

  .use-motion .logo-line-before i { left: initial; }
  .use-motion .logo-line-after i { right: initial; }
  </style>
</noscript>

</head>

<body itemscope itemtype="http://schema.org/WebPage">
  <div class="container use-motion">
    <div class="headband"></div>

    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-container">
  <div class="site-nav-toggle">
    <div class="toggle" aria-label="切换导航栏">
      <span class="toggle-line toggle-line-first"></span>
      <span class="toggle-line toggle-line-middle"></span>
      <span class="toggle-line toggle-line-last"></span>
    </div>
  </div>

  <div class="site-meta">

    <a href="/" class="brand" rel="start">
      <span class="logo-line-before"><i></i></span>
      <h1 class="site-title">学无止境</h1>
      <span class="logo-line-after"><i></i></span>
    </a>
      <p class="site-subtitle" itemprop="description">Do not bb, show me the example</p>
  </div>

  <div class="site-nav-right">
    <div class="toggle popup-trigger">
        <i class="fa fa-search fa-fw fa-lg"></i>
    </div>
  </div>
</div>




<nav class="site-nav">
  <ul id="menu" class="menu">
        <li class="menu-item menu-item-home">

    <a href="/" rel="section"><i class="fa fa-fw fa-home"></i>首页</a>

  </li>
        <li class="menu-item menu-item-tags">

    <a href="/tags/" rel="section"><i class="fa fa-fw fa-tags"></i>标签</a>

  </li>
        <li class="menu-item menu-item-categories">

    <a href="/categories/" rel="section"><i class="fa fa-fw fa-th"></i>分类</a>

  </li>
        <li class="menu-item menu-item-archives">

    <a href="/archives/" rel="section"><i class="fa fa-fw fa-archive"></i>归档</a>

  </li>
      <li class="menu-item menu-item-search">
        <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索
        </a>
      </li>
  </ul>
</nav>



  <div class="search-pop-overlay">
    <div class="popup search-popup">
        <div class="search-header">
  <span class="search-icon">
    <i class="fa fa-search"></i>
  </span>
  <div class="search-input-container">
    <input autocomplete="off" autocapitalize="off"
           placeholder="搜索..." spellcheck="false"
           type="search" class="search-input">
  </div>
  <span class="popup-btn-close">
    <i class="fa fa-times-circle"></i>
  </span>
</div>
<div id="search-result">
  <div id="no-result">
    <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i>
  </div>
</div>

    </div>
  </div>

</div>
    </header>

    
  <div class="back-to-top">
    <i class="fa fa-arrow-up"></i>
    <span>0%</span>
  </div>


    <main class="main">
      <div class="main-inner">
        <div class="content-wrap">
          

          <div class="content post posts-expand">
            

    
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="zh-CN">
    <link itemprop="mainEntityOfPage" href="http://example.com/2021/02/08/PyCharm+QTDesigner+PyUIC%E4%BD%BF%E7%94%A8%E6%95%99%E7%A8%8B/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/images/avatar.gif">
      <meta itemprop="name" content="xudonglei">
      <meta itemprop="description" content="搬砖 嵌入式">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="学无止境">
    </span>
      <header class="post-header">
        <h1 class="post-title" itemprop="name headline">
          PyCharm+Qt Designer+PyUIC使用教程
        </h1>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              <span class="post-meta-item-text">发表于</span>

              <time title="创建时间：2021-02-08 14:53:43" itemprop="dateCreated datePublished" datetime="2021-02-08T14:53:43+08:00">2021-02-08</time>
            </span>
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              <span class="post-meta-item-text">分类于</span>
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/QT/" itemprop="url" rel="index"><span itemprop="name">QT</span></a>
                </span>
            </span>

          
            <span id="/2021/02/08/PyCharm+QTDesigner+PyUIC%E4%BD%BF%E7%94%A8%E6%95%99%E7%A8%8B/" class="post-meta-item leancloud_visitors" data-flag-title="PyCharm+Qt Designer+PyUIC使用教程" title="阅读次数">
              <span class="post-meta-item-icon">
                <i class="fa fa-eye"></i>
              </span>
              <span class="post-meta-item-text">阅读次数：</span>
              <span class="leancloud-visitors-count"></span>
            </span>
  
  <span class="post-meta-item">
    
      <span class="post-meta-item-icon">
        <i class="fa fa-comment-o"></i>
      </span>
      <span class="post-meta-item-text">Valine：</span>
    
    <a title="valine" href="/2021/02/08/PyCharm+QTDesigner+PyUIC%E4%BD%BF%E7%94%A8%E6%95%99%E7%A8%8B/#valine-comments" itemprop="discussionUrl">
      <span class="post-comments-count valine-comment-count" data-xid="/2021/02/08/PyCharm+QTDesigner+PyUIC%E4%BD%BF%E7%94%A8%E6%95%99%E7%A8%8B/" itemprop="commentCount"></span>
    </a>
  </span>
  
  

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
        <p>​    这里我们演示这么一个简单的程序：程序主界面上有一个按钮和一个编缉框，点击按钮就在编缉框中显示“你点击了按钮”。</p>
<h2 id="一、使用QT-Desinger设计程序主界面"><a href="#一、使用QT-Desinger设计程序主界面" class="headerlink" title="一、使用QT Desinger设计程序主界面"></a>一、使用QT Desinger设计程序主界面</h2><h3 id="1-1-设计界面"><a href="#1-1-设计界面" class="headerlink" title="1.1 设计界面"></a>1.1 设计界面</h3><p>​    在PyCharm中创建一个项目，然后点击“Tools”–“External Tools”–“QTDesinger”打开QT Desinger</p>
<img src="https://xdl-blog-picture.oss-cn-shanghai.aliyuncs.com/img/Image4.png" style="zoom:50%;">

<img src="https://xdl-blog-picture.oss-cn-shanghai.aliyuncs.com/img/Image5.png" style="zoom:50%;">

<p>​    然后向Form中拖入一个“Push Button”和一个“Text Edit”：</p>
<img src="https://xdl-blog-picture.oss-cn-shanghai.aliyuncs.com/img/Image5.png" style="zoom:67%;">

<h3 id="1-2-指定点击事件及其响应函数"><a href="#1-2-指定点击事件及其响应函数" class="headerlink" title="1.2 指定点击事件及其响应函数"></a>1.2 指定点击事件及其响应函数</h3><p>​    在工具栏点击信号-槽编缉按钮—-光标移动到“PushButton”按钮上—-鼠标左键点击“PushButton”不要松开–拖动光标到Form的任一位置后再松开鼠标左键：</p>
<img src="https://xdl-blog-picture.oss-cn-shanghai.aliyuncs.com/img/Image6.png" style="zoom:67%;">

<p>​    经过上边的操作就出现了如下界面，“pushButton”侧选中“click()”，“Form”侧点击“Edit”：</p>
<img src="https://xdl-blog-picture.oss-cn-shanghai.aliyuncs.com/img/Image7.png" style="zoom:50%;">

<p>​    在上边“Slots”点击绿色“+”按钮，指定click事件的响应函数，名称随意定比如我这里命名为“pushButton_click()”（我们这里只是指定事件与响应函数的关联关系，函数是还没实现的，后边我们自行实现）</p>
<img src="https://xdl-blog-picture.oss-cn-shanghai.aliyuncs.com/img/Image8.png" style="zoom:50%;">

<img src="https://xdl-blog-picture.oss-cn-shanghai.aliyuncs.com/img/Image9.png" style="zoom:50%;">

<p>​    这样界面设计和事件关联就完成了，我们下来选择保存，将文件保存到项目的根目录下：</p>
<img src="https://xdl-blog-picture.oss-cn-shanghai.aliyuncs.com/img/Image10.png" style="zoom:50%;">



<h2 id="二、使用PyUIC将文件转成python代码"><a href="#二、使用PyUIC将文件转成python代码" class="headerlink" title="二、使用PyUIC将文件转成python代码"></a><strong>二、使用PyUIC将文件转成python代码</strong></h2><p>​    关闭QT Designer回到PyCharm，查看项目，可以看到只有刚才保存的PyQT_Form.ui文件而且该文件在PyCharm是打不开的我们需要将这个文件转成.py代码才能使用选中“PyQT_Form”，在其上点击鼠标右键，到“External Tools”中点击“PyUIC”完后再看项目文件，就可以看到多了一个“PyQT_Form.py”，双击查看其内容如下：</p>
<img src="https://xdl-blog-picture.oss-cn-shanghai.aliyuncs.com/img/Image12.png" style="zoom:67%;">

<h2 id="三、实现程序"><a href="#三、实现程序" class="headerlink" title="三、实现程序"></a><strong>三、实现程序</strong></h2><p>​    应该来说我们只要在上边的“PyQT_Form.py”中，将需要的包导入—添加pushButton_click()函数实现代码—-实例化Ui_Form类，实现这三步程序应该就差不多了但是PyQT_Form.py是PyUIC文件按照“PyQT_Form.ui”生成的，如果我们需要去调整PyQT_Form.ui（比如调整按钮位置调整文本框大小，后续调整界面在实际编程中基本是必然需求）。</p>
<p>​    调整完后重新生成PyQT_Form.py时，PyUIC可不会管当前我们已经在PyQT_Form.py中写了什么代码，旧PyQT_Form.py会直接被新PyQT_Form.py覆盖也就是说，所有逻辑代码我们都不应当写入PyQT_Form.py文件（或者叫不要动PyQT_Form.py文件），我们新建一个文件在里边创建一个子类（MyPyQT_Form）继承PyQT_Form.py中的Ui_Form。</p>
<h3 id="3-1-实现代码"><a href="#3-1-实现代码" class="headerlink" title="3.1 实现代码"></a><strong>3.1 实现代码</strong></h3><p>​    在项目中新建一个.py文件，写入如下代码</p>
<figure class="highlight c++"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">import</span> sysfrom PyQt5 </span><br><span class="line"><span class="keyword">import</span> QtWidgets</span><br><span class="line">from PyQT_Form <span class="keyword">import</span> Ui_Form</span><br><span class="line"></span><br><span class="line"><span class="function">class <span class="title">MyPyQT_Form</span><span class="params">(QtWidgets.QWidget,Ui_Form)</span>:    </span></span><br><span class="line"><span class="function">	def __<span class="title">init__</span><span class="params">(self)</span>:        </span></span><br><span class="line"><span class="function">		<span class="title">super</span><span class="params">(MyPyQT_Form,self)</span>.__<span class="title">init__</span><span class="params">()</span>        </span></span><br><span class="line"><span class="function">        self.<span class="title">setupUi</span><span class="params">(self)</span>    </span></span><br><span class="line"><span class="function">    </span></span><br><span class="line">    #实现pushButton_click()函数，textEdit是我们放上去的文本框的id    </span><br><span class="line">    <span class="function">def <span class="title">pushButton_click</span><span class="params">(self)</span>:        </span></span><br><span class="line"><span class="function">		self.textEdit.<span class="title">setText</span><span class="params">(<span class="string">&quot;你点击了按钮&quot;</span>)</span></span></span><br><span class="line"><span class="function"></span></span><br><span class="line">if __name__ == &#x27;__main__&#x27;:    </span><br><span class="line">	app = QtWidgets.QApplication(sys.argv)    </span><br><span class="line">    my_pyqt_form = MyPyQT_Form()    </span><br><span class="line">    my_pyqt_form.show()    </span><br><span class="line">    sys.<span class="built_in">exit</span>(app.exec_())</span><br></pre></td></tr></table></figure>

    </div>

    
    
    

      <footer class="post-footer">
          <div class="post-tags">
              <a href="/tags/PyQt5/" rel="tag"># PyQt5</a>
          </div>

        


        
    <div class="post-nav">
      <div class="post-nav-item">
    <a href="/2021/02/08/PyCharm+Qt%20Designer+PyUIC%E9%85%8D%E7%BD%AE%E6%95%99%E7%A8%8B/" rel="prev" title="PyCharm+Qt Designer+PyUIC配置教程">
      <i class="fa fa-chevron-left"></i> PyCharm+Qt Designer+PyUIC配置教程
    </a></div>
      <div class="post-nav-item">
    <a href="/2021/02/09/USB%E4%B9%8B%E6%8E%A7%E5%88%B6%E4%BC%A0%E8%BE%93%E5%8C%85/" rel="next" title="USB之控制传输包">
      USB之控制传输包 <i class="fa fa-chevron-right"></i>
    </a></div>
    </div>
      </footer>
    
  </article>
  
  
  



          </div>
          
    <div class="comments" id="valine-comments"></div>

<script>
  window.addEventListener('tabs:register', () => {
    let { activeClass } = CONFIG.comments;
    if (CONFIG.comments.storage) {
      activeClass = localStorage.getItem('comments_active') || activeClass;
    }
    if (activeClass) {
      let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
      if (activeTab) {
        activeTab.click();
      }
    }
  });
  if (CONFIG.comments.storage) {
    window.addEventListener('tabs:click', event => {
      if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
      let commentClass = event.target.classList[1];
      localStorage.setItem('comments_active', commentClass);
    });
  }
</script>

        </div>
          
  
  <div class="toggle sidebar-toggle">
    <span class="toggle-line toggle-line-first"></span>
    <span class="toggle-line toggle-line-middle"></span>
    <span class="toggle-line toggle-line-last"></span>
  </div>

  <aside class="sidebar">
    <div class="sidebar-inner">

      <ul class="sidebar-nav motion-element">
        <li class="sidebar-nav-toc">
          文章目录
        </li>
        <li class="sidebar-nav-overview">
          站点概览
        </li>
      </ul>

      <!--noindex-->
      <div class="post-toc-wrap sidebar-panel">
          <div class="post-toc motion-element"><ol class="nav"><li class="nav-item nav-level-2"><a class="nav-link" href="#%E4%B8%80%E3%80%81%E4%BD%BF%E7%94%A8QT-Desinger%E8%AE%BE%E8%AE%A1%E7%A8%8B%E5%BA%8F%E4%B8%BB%E7%95%8C%E9%9D%A2"><span class="nav-number">1.</span> <span class="nav-text">一、使用QT Desinger设计程序主界面</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#1-1-%E8%AE%BE%E8%AE%A1%E7%95%8C%E9%9D%A2"><span class="nav-number">1.1.</span> <span class="nav-text">1.1 设计界面</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#1-2-%E6%8C%87%E5%AE%9A%E7%82%B9%E5%87%BB%E4%BA%8B%E4%BB%B6%E5%8F%8A%E5%85%B6%E5%93%8D%E5%BA%94%E5%87%BD%E6%95%B0"><span class="nav-number">1.2.</span> <span class="nav-text">1.2 指定点击事件及其响应函数</span></a></li></ol></li><li class="nav-item nav-level-2"><a class="nav-link" href="#%E4%BA%8C%E3%80%81%E4%BD%BF%E7%94%A8PyUIC%E5%B0%86%E6%96%87%E4%BB%B6%E8%BD%AC%E6%88%90python%E4%BB%A3%E7%A0%81"><span class="nav-number">2.</span> <span class="nav-text">二、使用PyUIC将文件转成python代码</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#%E4%B8%89%E3%80%81%E5%AE%9E%E7%8E%B0%E7%A8%8B%E5%BA%8F"><span class="nav-number">3.</span> <span class="nav-text">三、实现程序</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#3-1-%E5%AE%9E%E7%8E%B0%E4%BB%A3%E7%A0%81"><span class="nav-number">3.1.</span> <span class="nav-text">3.1 实现代码</span></a></li></ol></li></ol></div>
      </div>
      <!--/noindex-->

      <div class="site-overview-wrap sidebar-panel">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
  <p class="site-author-name" itemprop="name">xudonglei</p>
  <div class="site-description" itemprop="description">搬砖 嵌入式</div>
</div>
<div class="site-state-wrap motion-element">
  <nav class="site-state">
      <div class="site-state-item site-state-posts">
          <a href="/archives/">
        
          <span class="site-state-item-count">283</span>
          <span class="site-state-item-name">日志</span>
        </a>
      </div>
      <div class="site-state-item site-state-categories">
            <a href="/categories/">
          
        <span class="site-state-item-count">19</span>
        <span class="site-state-item-name">分类</span></a>
      </div>
      <div class="site-state-item site-state-tags">
            <a href="/tags/">
          
        <span class="site-state-item-count">67</span>
        <span class="site-state-item-name">标签</span></a>
      </div>
  </nav>
</div>



      </div>

    </div>
  </aside>
  <div id="sidebar-dimmer"></div>


      </div>
    </main>

    <footer class="footer">
      <div class="footer-inner">
        

        

<div class="copyright">
  
  &copy; 
  <span itemprop="copyrightYear">2024</span>
  <span class="with-love">
    <i class="fa fa-user"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">xudonglei</span>
</div>
  <div class="powered-by">由 <a href="https://hexo.io/" class="theme-link" rel="noopener" target="_blank">Hexo</a> & <a href="https://muse.theme-next.org/" class="theme-link" rel="noopener" target="_blank">NexT.Muse</a> 强力驱动
  </div>

        








      </div>
    </footer>
  </div>

  
  <script src="/lib/anime.min.js"></script>
  <script src="/lib/velocity/velocity.min.js"></script>
  <script src="/lib/velocity/velocity.ui.min.js"></script>

<script src="/js/utils.js"></script>

<script src="/js/motion.js"></script>


<script src="/js/schemes/muse.js"></script>


<script src="/js/next-boot.js"></script>




  




  
<script src="/js/local-search.js"></script>













  

  


<script>
NexT.utils.loadComments(document.querySelector('#valine-comments'), () => {
  NexT.utils.getScript('//unpkg.com/valine/dist/Valine.min.js', () => {
    var GUEST = ['nick', 'mail', 'link'];
    var guest = 'nick,mail,link';
    guest = guest.split(',').filter(item => {
      return GUEST.includes(item);
    });
    new Valine({
      el         : '#valine-comments',
      verify     : false,
      notify     : false,
      appId      : 'BT0Qw9HcTpPv1a6cT1iDBXKz-gzGzoHsz',
      appKey     : 'LMCMh8v02JTMFAwKNRcgoizI',
      placeholder: "Just go go",
      avatar     : 'mm',
      meta       : guest,
      pageSize   : '10' || 10,
      visitor    : true,
      lang       : 'zh-CN' || 'zh-cn',
      path       : location.pathname,
      recordIP   : false,
      serverURLs : ''
    });
  }, window.Valine);
});
</script>

</body>
</html>
